(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,552210,(e,t,n)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case v:case l:return e;default:return t}}case i:return t}}}function S(e){return C(e)===p}n.AsyncMode=d,n.ConcurrentMode=p,n.ContextConsumer=c,n.ContextProvider=l,n.Element=o,n.ForwardRef=f,n.Fragment=a,n.Lazy=g,n.Memo=v,n.Portal=i,n.Profiler=u,n.StrictMode=s,n.Suspense=h,n.isAsyncMode=function(e){return S(e)||C(e)===d},n.isConcurrentMode=S,n.isContextConsumer=function(e){return C(e)===c},n.isContextProvider=function(e){return C(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},n.isForwardRef=function(e){return C(e)===f},n.isFragment=function(e){return C(e)===a},n.isLazy=function(e){return C(e)===g},n.isMemo=function(e){return C(e)===v},n.isPortal=function(e){return C(e)===i},n.isProfiler=function(e){return C(e)===u},n.isStrictMode=function(e){return C(e)===s},n.isSuspense=function(e){return C(e)===h},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===u||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===O||e.$$typeof===w||e.$$typeof===b)},n.typeOf=C},179684,(e,t,n)=>{"use strict";t.exports=e.r(552210)},398437,(e,t,n)=>{"use strict";var r=e.r(179684),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;t.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),m=u(n),v=0;v{e.v({flag:"LocaleCountrySwitcher-module__bZNGSW__flag",optionLabel:"LocaleCountrySwitcher-module__bZNGSW__optionLabel",select:"LocaleCountrySwitcher-module__bZNGSW__select",switcher:"LocaleCountrySwitcher-module__bZNGSW__switcher"})},904289,555613,e=>{"use strict";var t,n,r,o,i,a,s,u,l,c=e.i(843476),d=e.i(515224),p=e.i(852628),f=e.i(861745),h=e.i(618566),m=e.i(657688);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}function b(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function O(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0?p[g]+" "+b:H(b,/&\f/g,p[g])).trim())&&(u[v++]=y);return X(e,t,n,0===o?ea:s,u,l,c)}function ep(e,t,n,r){return X(e,t,n,es,j(e,0,r),j(e,r+1,-1),r)}var ef=function(e,t,n){for(var r=0,o=0;r=o,o=J(),38===r&&12===o&&(t[n]=1),!Q(o);)Z();return j(q,e,G)},eh=function(e,t){var n=-1,r=44;do switch(Q(r)){case 0:38===r&&12===J()&&(t[n]=1),e[n]+=ef(G-1,t,n);break;case 2:e[n]+=et(r);break;case 4:if(44===r){e[++n]=58===J()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=T(r)}while(r=Z())return e},em=function(e,t){var n;return n=eh(ee(e),t),q="",n},ev=new WeakMap,eg=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ev.get(n))&&!r){ev.set(e,!0);for(var o=[],i=em(t,o),a=n.props,s=0,u=0;s-1&&!e.return)switch(e.type){case es:e.return=function e(t,n){switch(45^$(t,0)?(((n<<2^$(t,0))<<2^$(t,1))<<2^$(t,2))<<2^$(t,3):0){case 5103:return eo+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return eo+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eo+t+er+t+en+t+t;case 6828:case 4268:return eo+t+en+t+t;case 6165:return eo+t+en+"flex-"+t+t;case 5187:return eo+t+H(t,/(\w+).+(:[^]+)/,eo+"box-$1$2"+en+"flex-$1$2")+t;case 5443:return eo+t+en+"flex-item-"+H(t,/flex-|-self/,"")+t;case 4675:return eo+t+en+"flex-line-pack"+H(t,/align-content|flex-|-self/,"")+t;case 5548:return eo+t+en+H(t,"shrink","negative")+t;case 5292:return eo+t+en+H(t,"basis","preferred-size")+t;case 6060:return eo+"box-"+H(t,"-grow","")+eo+t+en+H(t,"grow","positive")+t;case 4554:return eo+H(t,/([^-])(transform)/g,"$1"+eo+"$2")+t;case 6187:return H(H(H(t,/(zoom-|grab)/,eo+"$1"),/(image-set)/,eo+"$1"),t,"")+t;case 5495:case 3959:return H(t,/(image-set\([^]*)/,eo+"$1$`$1");case 4968:return H(H(t,/(.+:)(flex-)?(.*)/,eo+"box-pack:$3"+en+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eo+t+t;case 4095:case 3583:case 4068:case 2532:return H(t,/(.+)-inline(.+)/,eo+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(t)-1-n>6)switch($(t,n+1)){case 109:if(45!==$(t,n+4))break;case 102:return H(t,/(.+:)(.+)-([^]+)/,"$1"+eo+"$2-$3$1"+er+(108==$(t,n+3)?"$3":"$2-$3"))+t;case 115:return~N(t,"stretch")?e(H(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==$(t,n+1))break;case 6444:switch($(t,_(t)-3-(~N(t,"!important")&&10))){case 107:return H(t,":",":"+eo)+t;case 101:return H(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+eo+(45===$(t,14)?"inline-":"")+"box$3$1"+eo+"$2$3$1"+en+"$2box$3")+t}break;case 5936:switch($(t,n+11)){case 114:return eo+t+en+H(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eo+t+en+H(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eo+t+en+H(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return eo+t+en+t+t}return t}(e.value,e.length);break;case eu:return el([K(e,{value:H(e.value,"@","@"+eo)})],r);case ea:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return el([K(e,{props:[H(t,/:(read-\w+)/,":"+er+"$1")]})],r);case"::placeholder":return el([K(e,{props:[H(t,/:(plac\w+)/,":"+eo+"input-$1")]}),K(e,{props:[H(t,/:(plac\w+)/,":"+er+"$1")]}),K(e,{props:[H(t,/:(plac\w+)/,en+"input-$1")]})],r)}return""},o.map(i).join("")}}}];e.i(398437);var eO=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ew=function(e,t,n){eO(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}},eC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eS=/[A-Z]|^ms/g,ex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eI=function(e){return 45===e.charCodeAt(1)},eE=function(e){return null!=e&&"boolean"!=typeof e},eM=(t=function(e){return eI(e)?e:e.replace(eS,"-$&").toLowerCase()},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}),eP=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ex,function(e,t,n){return u={name:t,styles:n,next:u},t})}return 1===eC[e]||eI(e)||"number"!=typeof t||0===t?t:t+"px"};function eV(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return u={name:n.name,styles:n.styles,next:u},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)u={name:r.name,styles:r.styles,next:u},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(i)+l,styles:i,next:u}}var eL=!!I.useInsertionEffect&&I.useInsertionEffect,eD=eL||function(e){return e()};eL||I.useLayoutEffect;var eF=I.createContext("undefined"!=typeof HTMLElement?function(e){var t,n,r,o,i,a=e.key;if("css"===a){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var u=e.stylisPlugins||ey,l={},c=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||Q(Y)>3?"":" "}(v);break;case 92:I+=function(e,t){for(var n;--t&&Z()&&!(Y<48)&&!(Y>102)&&(!(Y>57)||!(Y<65))&&(!(Y>70)||!(Y<97)););return n=G+(t<6&&32==J()&&32==Z()),j(q,e,n)}(G-1,7);continue;case 47:switch(J()){case 42:case 47:U((c=function(e,t){for(;Z();)if(e+Y===57)break;else if(e+Y===84&&47===J())break;return"/*"+j(q,t,G-1)+"*"+T(47===e?e:Z())}(Z(),G),X(c,n,r,ei,T(Y),j(c,2,-2),0)),l);break;default:I+="/"}break;case 123*g:u[d++]=_(I)*y;case 125*g:case 59:case 0:switch(O){case 0:case 125:b=0;case 59+p:-1==y&&(I=H(I,/\f/g,"")),m>0&&_(I)-f&&U(m>32?ep(I+";",o,r,f-1):ep(H(I," ","")+";",o,r,f-2),l);break;case 59:I+=";";default:if(U(x=ed(I,n,r,d,p,i,u,w,C=[],S=[],f),a),123===O)if(0===p)e(I,n,x,x,C,a,f,u,S);else switch(99===h&&110===$(I,3)?100:h){case 100:case 108:case 109:case 115:e(t,x,x,o&&U(ed(t,x,x,0,0,i,u,w,i,C=[],f),S),i,S,f,u,o?C:S);break;default:e(I,x,x,x,[""],S,0,u,S)}}d=p=m=0,g=y=1,w=I="",f=s;break;case 58:f=1+_(I),m=v;default:if(g<1){if(123==O)--g;else if(125==O&&0==g++&&125==(Y=G>0?$(q,--G):0,B--,10===Y&&(B=1,z--),Y))continue}switch(I+=T(O),O*g){case 38:y=p>0?1:(I+="\f",-1);break;case 44:u[d++]=(_(I)-1)*y,y=1;break;case 64:45===J()&&(I+=et(Z())),h=J(),p=f=_(w=I+=function(e){for(;!Q(J());)Z();return j(q,e,G)}(G)),O++;break;case 45:45===v&&2==_(I)&&(g=0)}}return a}("",null,null,null,[""],t=ee(t=e),0,[0],t),q="",n),d)},f={key:a,sheet:new D({key:a,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:function(e,t,n,r){i=n,p(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)}};return f.sheet.hydrate(c),f}({key:"css"}):null);eF.Provider;var eT=I.createContext({}),eA={}.hasOwnProperty,eH="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",eN=function(e,t){var n={};for(var r in t)eA.call(t,r)&&(n[r]=t[r]);return n[eH]=e,n},e$=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return eO(t,n,r),eD(function(){return ew(t,n,r)}),null},ej=(r=function(e,t,n){var r,o,i,a,s=e.css;"string"==typeof s&&void 0!==t.registered[s]&&(s=t.registered[s]);var u=e[eH],l=[s],c="";"string"==typeof e.className?(r=t.registered,o=l,i=e.className,a="",i.split(" ").forEach(function(e){void 0!==r[e]?o.push(r[e]+";"):e&&(a+=e+" ")}),c=a):null!=e.className&&(c=e.className+" ");var d=eR(l,void 0,I.useContext(eT));c+=t.key+"-"+d.name;var p={};for(var f in e)eA.call(e,f)&&"css"!==f&&f!==eH&&(p[f]=e[f]);return p.className=c,n&&(p.ref=n),I.createElement(I.Fragment,null,I.createElement(e$,{cache:t,serialized:d,isStringTag:"string"==typeof u}),I.createElement(u,p))},(0,I.forwardRef)(function(e,t){return r(e,(0,I.useContext)(eF),t)})),e_=function(e,t){var n=arguments;if(null==t||!eA.call(t,"css"))return I.createElement.apply(void 0,n);var r=n.length,o=Array(r);o[0]=ej,o[1]=eN(e,t);for(var i=2;i({x:e,y:e});function eX(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function eK(){return"undefined"!=typeof window}function eZ(e){return e0(e)?(e.nodeName||"").toLowerCase():"#document"}function eJ(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eQ(e){var t;return null==(t=(e0(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function e0(e){return!!eK()&&(e instanceof Node||e instanceof eJ(e).Node)}function e1(e){return!!eK()&&(e instanceof Element||e instanceof eJ(e).Element)}function e5(e){return!!eK()&&(e instanceof HTMLElement||e instanceof eJ(e).HTMLElement)}function e2(e){return!!eK()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eJ(e).ShadowRoot)}let e4=new Set(["inline","contents"]);function e6(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=e7(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!e4.has(o)}function e3(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let e9=new Set(["html","body","#document"]);function e8(e){return e9.has(eZ(e))}function e7(e){return eJ(e).getComputedStyle(e)}function te(e){if("html"===eZ(e))return e;let t=e.assignedSlot||e.parentNode||e2(e)&&e.host||eQ(e);return e2(t)?t.host:t}function tt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=te(t);return e8(n)?t.ownerDocument?t.ownerDocument.body:t.body:e5(n)&&e6(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=eJ(o);if(i){let e=tn(a);return t.concat(a,a.visualViewport||[],e6(o)?o:[],e&&n?tt(e):[])}return t.concat(o,tt(o,[],n))}function tn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tr(e){return e1(e)?e:e.contextElement}function to(e){var t;let n,r,o,i,a,s,u,l=tr(e);if(!e5(l))return eq(1);let c=l.getBoundingClientRect(),{width:d,height:p,$:f}=(r=parseFloat((n=e7(t=l)).width)||0,o=parseFloat(n.height)||0,a=(i=e5(t))?t.offsetWidth:r,s=i?t.offsetHeight:o,(u=eG(r)!==a||eG(o)!==s)&&(r=a,o=s),{width:r,height:o,$:u}),h=(f?eG(c.width):c.width)/d,m=(f?eG(c.height):c.height)/p;return h&&Number.isFinite(h)||(h=1),m&&Number.isFinite(m)||(m=1),{x:h,y:m}}let ti=eq(0);function ta(e){let t=eJ(e);return e3()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ti}function ts(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=tr(e),s=eq(1);t&&(r?e1(r)&&(s=to(r)):s=to(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===eJ(a))&&o)?ta(a):eq(0),l=(i.left+u.x)/s.x,c=(i.top+u.y)/s.y,d=i.width/s.x,p=i.height/s.y;if(a){let e=eJ(a),t=r&&e1(r)?eJ(r):r,n=e,o=tn(n);for(;o&&r&&t!==n;){let e=to(o),t=o.getBoundingClientRect(),r=e7(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,p*=e.y,l+=i,c+=a,o=tn(n=eJ(o))}}return eX({width:d,height:p,x:l,y:c})}function tu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var tl=I.useLayoutEffect,tc=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],td=function(){};function tp(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o-1}function tg(e){return tv(e)?window.pageYOffset:e.scrollTop}function tb(e,t){tv(e)?window.scrollTo(0,t):e.scrollTop=t}function ty(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:td,o=tg(e),i=t-o,a=0;!function t(){var s;a+=10,tb(e,i*((s=(s=a)/n-1)*s*s+1)+o),an.bottom?tb(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o1?t-1:0),r=1;r=h)return{placement:"bottom",maxHeight:n};if(x>=h&&!s)return a&&ty(l,I,160),{placement:"bottom",maxHeight:n};if(!s&&x>=o||s&&C>=o)return a&&ty(l,I,160),{placement:"bottom",maxHeight:s?C-y:x-y};if("auto"===i||s){var M=n,P=s?w:S;return P>=o&&(M=Math.min(P-y-u,n)),{placement:"top",maxHeight:M}}if("bottom"===i)return a&&tb(l,I),{placement:"bottom",maxHeight:n};break;case"top":if(w>=h)return{placement:"top",maxHeight:n};if(S>=h&&!s)return a&&ty(l,E,160),{placement:"top",maxHeight:n};if(!s&&S>=o||s&&w>=o){var V=n;return(!s&&S>=o||s&&w>=o)&&(V=s?w-O:S-O),a&&ty(l,E,160),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:n};default:throw Error('Invalid placement provided "'.concat(i,'".'))}return c}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:v});p(s.maxHeight),m(s.placement),null==u||u(s.placement)}},[r,o,i,a,n,u,v]),t({ref:l,placerProps:O(O({},e),{},{placement:h||tV(o),maxHeight:d})})},tL=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return O({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},tD=["size"],tF=["innerProps","isRtl","size"],tT={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},tA=function(e){var t=e.size,n=x(e,tD);return e_("svg",M({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tT},n))},tH=function(e){return e_(tA,M({size:20},e),e_("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},tN=function(e){return e_(tA,M({size:20},e),e_("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},t$=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return O({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},tj=function(){var e=eU.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(l||(a=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],s||(s=a.slice(0)),l=Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(s)}})))),t_=function(e){var t=e.delay,n=e.offset;return e_("span",{css:eU({animation:"".concat(tj," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},tU=["data"],tz=["innerRef","isDisabled","isHidden","inputClassName"],tB={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},tW={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":O({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},tB)},tG=function(e){var t=e.children,n=e.innerProps;return e_("div",n,t)},tY={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return e_("div",M({},tm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||e_(tH,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return e_("div",M({ref:o},tm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return e_("div",M({},tm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||e_(tN,null))},DownChevron:tN,CrossIcon:tH,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return e_("div",M({},tm(e,"group",{group:!0}),s),e_(i,M({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),e_("div",null,t))},GroupHeading:function(e){var t=th(e);t.data;var n=x(t,tU);return e_("div",M({},tm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return e_("div",M({},tm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return e_("span",M({},t,tm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=th(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,u=x(r,tz);return e_("div",M({},tm(e,"input",{"input-container":!0}),{"data-value":n||""}),e_("input",M({className:t({input:!0},s),ref:o,style:O({label:"input",color:"inherit",background:0,opacity:+!a,width:"100%"},tB),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=x(e,tF);return e_("div",M({},tm(O(O({},o),{},{innerProps:t,isRtl:n,size:void 0===r?4:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),e_(t_,{delay:0,offset:n}),e_(t_,{delay:160,offset:!0}),e_(t_,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return e_("div",M({},tm(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return e_("div",M({},tm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,a=e.menuPosition,s=(0,I.useRef)(null),u=(0,I.useRef)(null),l=S((0,I.useState)(tV(i)),2),c=l[0],d=l[1],p=(0,I.useMemo)(function(){return{setPortalPlacement:d}},[]),f=S((0,I.useState)(null),2),h=f[0],m=f[1],v=(0,I.useCallback)(function(){if(r){var e,t={bottom:(e=r.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},n="fixed"===a?0:window.pageYOffset,o=t[c]+n;(o!==(null==h?void 0:h.offset)||t.left!==(null==h?void 0:h.rect.left)||t.width!==(null==h?void 0:h.rect.width))&&m({offset:o,rect:t})}},[r,a,c,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);tl(function(){v()},[v]);var g=(0,I.useCallback)(function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&s.current&&(u.current=function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=tr(e),d=i||a?[...c?tt(c):[],...tt(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let p=c&&u?function(e,t){let n,r=null,o=eQ(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();let l=e.getBoundingClientRect(),{left:c,top:d,width:p,height:f}=l;if(s||t(),!p||!f)return;let h={rootMargin:-eY(d)+"px "+-eY(o.clientWidth-(c+p))+"px "+-eY(o.clientHeight-(d+f))+"px "+-eY(c)+"px",threshold:eW(0,eB(1,u))||1},m=!0;function v(t){let r=t[0].intersectionRatio;if(r!==u){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||tu(l,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),i}(c,n):null,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let m=l?ts(e):null;return l&&function t(){let r=ts(e);m&&!tu(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(o)}}(r,s.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);tl(function(){g()},[g]);var b=(0,I.useCallback)(function(e){s.current=e,g()},[g]);if(!t&&"fixed"!==a||!h)return null;var y=e_("div",M({ref:b},tm(O(O({},e),{},{offset:h.offset,position:a,rect:h.rect}),"menuPortal",{"menu-portal":!0}),o),n);return e_(tk.Provider,{value:p},t?(0,ez.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=x(e,tP);return e_("div",M({},tm(O(O({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=x(e,tM);return e_("div",M({},tm(O(O({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,u=n.Container,l=n.Label,c=n.Remove;return e_(u,{data:r,innerProps:O(O({},tm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},e_(l,{data:r,innerProps:O({},tm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),e_(c,{data:r,innerProps:O(O({},tm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:tG,MultiValueLabel:tG,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return e_("div",M({role:"button"},n),t||e_(tH,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return e_("div",M({},tm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return e_("div",M({},tm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return e_("div",M({},tm(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return e_("div",M({},tm(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return e_("div",M({},tm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},tq=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tX(e,t){if(e.length!==t.length)return!1;for(var n,r,o=0;o1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return i?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&l){var d="".concat(u?" selected":"").concat(s?" disabled":"");return"".concat(i).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},tQ=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,l=e.isAppleDevice,c=s.ariaLiveMessages,d=s.getOptionLabel,p=s.inputValue,f=s.isMulti,h=s.isOptionDisabled,m=s.isSearchable,v=s.menuIsOpen,g=s.options,b=s.screenReaderStatus,y=s.tabSelectsValue,w=s.isLoading,C=s["aria-label"],S=s["aria-live"],x=(0,I.useMemo)(function(){return O(O({},tJ),c||{})},[c]),E=(0,I.useMemo)(function(){var e="";if(t&&x.onChange){var n=t.option,r=t.options,o=t.removedValue,i=t.removedValues,s=t.value,u=o||n||(Array.isArray(s)?null:s),l=u?d(u):"",c=r||i||void 0,p=c?c.map(d):[],f=O({isDisabled:u&&h(u,a),label:l,labels:p},t);e=x.onChange(f)}return e},[t,x,h,a,d]),M=(0,I.useMemo)(function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&x.onFocus){var s={focused:t,label:d(t),isDisabled:h(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=x.onFocus(s)}return e},[n,r,d,h,x,o,a,l]),P=(0,I.useMemo)(function(){var e="";if(v&&g.length&&!w&&x.onFilter){var t=b({count:o.length});e=x.onFilter({inputValue:p,resultsMessage:t})}return e},[o,p,v,x,g,b,w]),V=(null==t?void 0:t.action)==="initial-input-focus",k=(0,I.useMemo)(function(){var e="";if(x.guidance){var t=r?"value":v?"menu":"input";e=x.guidance({"aria-label":C,context:t,isDisabled:n&&h(n,a),isMulti:f,isSearchable:m,tabSelectsValue:y,isInitialFocus:V})}return e},[C,n,r,f,h,m,v,x,a,y,V]),R=e_(I.Fragment,null,e_("span",{id:"aria-selection"},E),e_("span",{id:"aria-focused"},M),e_("span",{id:"aria-results"},P),e_("span",{id:"aria-guidance"},k));return e_(I.Fragment,null,e_(tZ,{id:u},V&&R),e_(tZ,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!V&&R))},t0=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],t1=RegExp("["+t0.map(function(e){return e.letters}).join("")+"]","g"),t5={},t2=0;t20,m=d-p-l,v=!1;m>t&&s.current&&(o&&o(e),s.current=!1),h&&u.current&&(a&&a(e),u.current=!1),h&&t>m?(r&&!s.current&&r(e),f.scrollTop=d,v=!0,s.current=!0):!h&&-t>l&&(i&&!u.current&&i(e),f.scrollTop=0,v=!0,u.current=!0),v&&nn(e)}},[r,o,i,a]),p=(0,I.useCallback)(function(e){d(e,e.deltaY)},[d]),f=(0,I.useCallback)(function(e){l.current=e.changedTouches[0].clientY},[]),h=(0,I.useCallback)(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=(0,I.useCallback)(function(e){if(e){var t=!!tx&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",h,t)}},[h,f,p]),v=(0,I.useCallback)(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",h,!1))},[h,f,p]),(0,I.useEffect)(function(){if(n){var e=c.current;return m(e),function(){v(e)}}},[n,m,v]),function(e){c.current=e}),k=(b=(g={isEnabled:M}).isEnabled,O=void 0===(y=g.accountForScrollbars)||y,w=(0,I.useRef)({}),C=(0,I.useRef)(null),S=(0,I.useCallback)(function(e){if(nl){var t=document.body,n=t&&t.style;if(O&&nr.forEach(function(e){var t=n&&n[e];w.current[e]=t}),O&&nc<1){var r=parseInt(w.current.paddingRight,10)||0,o=document.body?document.body.clientWidth:0,i=window.innerWidth-o+r||0;Object.keys(no).forEach(function(e){var t=no[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(i,"px"))}t&&nu()&&(t.addEventListener("touchmove",ni,nd),e&&(e.addEventListener("touchstart",ns,nd),e.addEventListener("touchmove",na,nd))),nc+=1}},[O]),x=(0,I.useCallback)(function(e){if(nl){var t=document.body,n=t&&t.style;nc=Math.max(nc-1,0),O&&nc<1&&nr.forEach(function(e){var t=w.current[e];n&&(n[e]=t)}),t&&nu()&&(t.removeEventListener("touchmove",ni,nd),e&&(e.removeEventListener("touchstart",ns,nd),e.removeEventListener("touchmove",na,nd)))}},[O]),(0,I.useEffect)(function(){if(b){var e=C.current;return S(e),function(){x(e)}}},[b,S,x]),function(e){C.current=e});return e_(I.Fragment,null,M&&e_("div",{onClick:np,css:nf}),E(function(e){V(e),k(e)}))}var nm={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},nv=function(e){var t=e.name,n=e.onFocus;return e_("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:nm,value:"",onChange:function(){}})};function ng(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}var nb={clearIndicator:t$,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return O({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:t$,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return O({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return O({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return O(O({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},tW),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return O({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:tL,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return O((b(n={label:"menu"},r?({bottom:"top",top:"bottom"})[r]:"bottom","100%"),b(n,"position","absolute"),b(n,"width","100%"),b(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return O({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return O({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return O({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return O({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:tL,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return O({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return O({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return O({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return O({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},ny={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},nO={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:tw(),captureMenuScroll:!tw(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=O({ignoreCase:!0,ignoreAccents:!0,stringify:t7,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?t8(t):t,l=a?t8(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=t9(u),l=t3(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function nw(e,t,n,r){var o=nV(e,t,n),i=nk(e,t,n),a=nM(e,t),s=nP(e,t);return{type:"option",data:t,isDisabled:o,isSelected:i,label:a,value:s,index:r}}function nC(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return nw(e,n,t,r)}).filter(function(t){return nI(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=nw(e,n,t,r);return nI(e,i)?i:void 0}).filter(tI)}function nS(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,L(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function nx(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,L(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function nI(e,t){var n=e.inputValue,r=t.data,o=t.isSelected,i=t.label,a=t.value;return(!nL(e)||!o)&&nR(e,{label:i,value:a,data:r},void 0===n?"":n)}var nE=function(e,t){var n;return(null==(n=e.find(function(e){return e.data===t}))?void 0:n.id)||null},nM=function(e,t){return e.getOptionLabel(t)},nP=function(e,t){return e.getOptionValue(t)};function nV(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function nk(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=nP(e,t);return n.some(function(t){return nP(e,t)===r})}function nR(e,t,n){return!e.filterOption||e.filterOption(t,n)}var nL=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},nD=1,nF=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&V(i,e);var t,n,r,o=(t=R(),function(){var e,n=k(i);e=t?Reflect.construct(n,arguments,k(this).constructor):n.apply(this,arguments);if(e&&("object"==v(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this});function i(e){var t;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");if((t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange;n.name=r.name,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter(function(e){return t.getOptionValue(e)!==l}),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(L(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n,r=t.props.isMulti,o=t.state.selectValue,i=t.getOptionValue(e),a=o.filter(function(e){return t.getOptionValue(e)!==i}),s=(n=a[0]||null,r?a:n);t.onChange(s,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e,n,r=t.state.selectValue;t.onChange((e=t.props.isMulti,n=[],e?n:null),{action:"clear",removedValues:r})},t.popValue=function(){var e,n=t.props.isMulti,r=t.state.selectValue,o=r[r.length-1],i=r.slice(0,r.length-1),a=(e=i[0]||null,n?i:e);o&&t.onChange(a,{action:"pop-value",removedValue:o})},t.getFocusedOptionId=function(e){return nE(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return nx(nC(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=Array(e),r=0;r5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return nL(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,p=n.openMenuOnFocus,f=t.state,h=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!u){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing||e.shiftKey||!l||!d||!h||p&&t.isOptionSelected(h,v))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h||t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++nD),t.state.selectValue=tf(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),a=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[a],t.state.focusedOptionId=nE(n,r[a])}return t}return n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&tO(this.menuListRef,this.focusedOptionRef),(ng(/^Mac/i)||ng(/^iPhone/i)||ng(/^iPad/i)||ng(/^Mac/i)&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(tO(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ny):O(O({},ny),this.props.theme):ny}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return nV(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return nk(this.props,e,t)}},{key:"filterOption",value:function(e,t){return nR(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,u=e.required,l=this.getComponents().Input,c=this.state,d=c.inputIsHidden,p=c.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),m=O(O(O({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==p?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?I.createElement(l,M({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},m)):I.createElement(nt,M({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:td,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,f=l.inputValue,h=l.placeholder,m=this.state,v=m.selectValue,g=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return f?null:I.createElement(s,M({},u,{key:"placeholder",isDisabled:d,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(p)return v.map(function(t,a){var s=t===g,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return I.createElement(n,M({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(f)return null;var y=v[0];return I.createElement(a,M({},u,{data:y,isDisabled:d}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return I.createElement(e,M({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?I.createElement(e,M({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return I.createElement(n,M({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return I.createElement(e,M({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),r=n.Group,o=n.GroupHeading,i=n.Menu,a=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,l=n.NoOptionsMessage,c=n.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,v=f.isLoading,g=f.loadingMessage,b=f.minMenuHeight,y=f.maxMenuHeight,O=f.menuIsOpen,w=f.menuPlacement,C=f.menuPosition,S=f.menuPortalTarget,x=f.menuShouldBlockScroll,E=f.menuShouldScrollIntoView,P=f.noOptionsMessage,V=f.onMenuScrollToTop,k=f.onMenuScrollToBottom;if(!O)return null;var R=function(e,n){var r=e.type,o=e.data,i=e.isDisabled,a=e.isSelected,s=e.label,u=e.value,l=p===o,f=i?void 0:function(){return t.onOptionHover(o)},h=i?void 0:function(){return t.selectOption(o)},m="".concat(t.getElementId("option"),"-").concat(n),v={id:m,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":t.state.isAppleDevice?void 0:a};return I.createElement(c,M({},d,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:m,label:s,type:r,value:u,isFocused:l,innerRef:l?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var n=e.data,i=e.options,a=e.index,s="".concat(t.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return I.createElement(r,M({},d,{key:s,data:n,options:i,Heading:o,headingProps:{id:u,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return R(e,"".concat(a,"-").concat(e.index))}))}if("option"===e.type)return R(e,"".concat(e.index))});else if(v){var L=g({inputValue:m});if(null===L)return null;e=I.createElement(u,d,L)}else{var D=P({inputValue:m});if(null===D)return null;e=I.createElement(l,d,D)}var F={minMenuHeight:b,maxMenuHeight:y,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:E},T=I.createElement(tR,M({},d,F),function(n){var r=n.ref,o=n.placerProps,s=o.placement,u=o.maxHeight;return I.createElement(i,M({},d,F,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:v,placement:s}),I.createElement(nh,{captureEnabled:h,onTopArrive:V,onBottomArrive:k,lockEnabled:x},function(n){return I.createElement(a,M({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:t.getElementId("listbox")},isLoading:v,maxHeight:u,focusedOption:p}),e)}))});return S||"fixed"===C?I.createElement(s,M({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return I.createElement(nv,{name:i,onFocus:this.onValueInputFocus});if(i&&!r)if(o)if(n){var u=s.map(function(t){return e.getOptionValue(t)}).join(n);return I.createElement("input",{name:i,type:"hidden",value:u})}else{var l=s.length>0?s.map(function(t,n){return I.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):I.createElement("input",{name:i,type:"hidden",value:""});return I.createElement("div",null,l)}else{var c=s[0]?this.getOptionValue(s[0]):"";return I.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return I.createElement(tQ,M({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,d=this.commonProps=this.getCommonProps();return I.createElement(r,M({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),I.createElement(t,M({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),I.createElement(o,M({},d,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),I.createElement(n,M({},d,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,o=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,s=t.isFocused,u=t.prevWasFocused,l=t.instancePrefix,c=e.options,d=e.value,p=e.menuIsOpen,f=e.inputValue,h=e.isMulti,m=tf(d),v={};if(r&&(d!==r.value||c!==r.options||p!==r.menuIsOpen||f!==r.inputValue)){var g,b=p?nS(nC(e,m)):[],y=p?nx(nC(e,m),"".concat(l,"-option")):[],w=o?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r-1?g:b[0],S=nE(y,C);v={selectValue:m,focusedOption:C,focusedOptionId:S,focusableOptionsWithIds:y,focusedValue:w,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==r?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=a,E=s&&u;return s&&!E&&(I={value:(n=m[0]||null,h?m:n),options:m,action:"initial-input-focus"},E=!u),(null==a?void 0:a.action)==="initial-input-focus"&&(I=null),O(O(O({},v),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:E})}}],n&&P(i.prototype,n),r&&P(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(I.Component);nF.defaultProps=nO;var nT=(0,I.forwardRef)(function(e,t){var n,r,o,i,a,s,u,l,c,d,p,f,h,m,v,g,b,y,w,C,P,V,k,R,L,D,F,T=(n=e.defaultInputValue,r=e.defaultMenuIsOpen,o=e.defaultValue,i=e.inputValue,a=e.menuIsOpen,s=e.onChange,u=e.onInputChange,l=e.onMenuClose,c=e.onMenuOpen,d=e.value,p=x(e,E),h=(f=S((0,I.useState)(void 0!==i?i:void 0===n?"":n),2))[0],m=f[1],g=(v=S((0,I.useState)(void 0!==a?a:void 0!==r&&r),2))[0],b=v[1],w=(y=S((0,I.useState)(void 0!==d?d:void 0===o?null:o),2))[0],C=y[1],P=(0,I.useCallback)(function(e,t){"function"==typeof s&&s(e,t),C(e)},[s]),V=(0,I.useCallback)(function(e,t){var n;"function"==typeof u&&(n=u(e,t)),m(void 0!==n?n:e)},[u]),k=(0,I.useCallback)(function(){"function"==typeof c&&c(),b(!0)},[c]),R=(0,I.useCallback)(function(){"function"==typeof l&&l(),b(!1)},[l]),L=void 0!==i?i:h,D=void 0!==a?a:g,F=void 0!==d?d:w,O(O({},p),{},{inputValue:L,menuIsOpen:D,onChange:P,onInputChange:V,onMenuClose:R,onMenuOpen:k,value:F}));return I.createElement(nF,M({ref:t},T))});e.s(["default",()=>nT],555613);var nA=e.i(485087);let nH={EN:"en",GB:"en",NO:"no",SE:"sv",DE:"de",FR:"fr",DK:"da",FI:"fi",NL:"nl"},nN={EN:"English",NO:"Norway",SE:"Sweden",DE:"Germany",FR:"France",DK:"Denmark",FI:"Finland",NL:"Netherlands"},n$={EN:"gb"};function nj(){let e=(0,d.useConfig)(),t=(0,h.useRouter)(),n=(0,h.usePathname)(),r=(0,h.useSearchParams)(),o=(0,f.useLocale)(),i=(0,p.useCountryParam)(),a=Array.from(new Set((e?.contacts?Object.keys(e.contacts):[]).map(e=>String(e).trim().toUpperCase()).filter(e=>/^[A-Z]{2}$/.test(e)))).map(e=>{let t=nH[e]??o.toLowerCase(),n=nN[e]??e,r=n$[e]??e.toLowerCase();return{value:e,language:e,locale:t,label:(0,c.jsxs)("div",{className:nA.default.optionLabel,children:[(0,c.jsx)(m.default,{src:`/flags/${r}.svg`,alt:e,className:nA.default.flag,width:18,height:14}),(0,c.jsx)("span",{children:n})]})}}),s=function(e,t,n){if(0===n.length)return"";let r=n.find(t=>t.locale===e.toLowerCase());if(r)return r.language;let o=t?.toUpperCase();return o&&n.some(e=>e.language===o)?o:n[0].language}(o,i,a);return 0===a.length||""===s?null:(0,c.jsx)("div",{className:nA.default.switcher,children:(0,c.jsx)(nT,{instanceId:"locale-country-switcher",className:nA.default.select,isSearchable:!1,menuPortalTarget:"undefined"!=typeof document?document.body:void 0,menuPosition:"fixed",options:a,value:a.find(e=>e.language===s),onChange:e=>(e=>{if(!e)return;let i=e.locale.toLowerCase(),a=`/${o.toLowerCase()}`,s=`/${i}`,u=n;(n===a||n.startsWith(`${a}/`))&&(u=`${s}${n.slice(a.length)}`);let l=new URLSearchParams(r.toString());l.delete("country"),l.delete("test");let c=l.toString(),d=c?`${u}?${c}`:u;t.replace(d)})(e),"aria-label":"Country switcher",styles:{container:e=>({...e,minWidth:84}),control:(e,t)=>({...e,minHeight:40,borderRadius:999,borderColor:t.isFocused?"#b0663c":"#cad8d2",background:"linear-gradient(135deg, #ffffff 0%, #f3faf7 100%)",boxShadow:t.isFocused?"0 0 0 3px rgba(176, 102, 60, 0.25)":"0 8px 22px rgba(40, 71, 58, 0.12)","&:hover":{borderColor:"#9db9ad"}}),valueContainer:e=>({...e,padding:"0 8px"}),singleValue:e=>({...e,margin:0,color:"#1f352b",fontWeight:600}),indicatorSeparator:()=>({display:"none"}),dropdownIndicator:e=>({...e,color:"#60756a",padding:"0 8px"}),menu:e=>({...e,zIndex:1100,borderRadius:12,overflow:"hidden"}),menuPortal:e=>({...e,zIndex:1100}),option:(e,t)=>({...e,backgroundColor:t.isSelected?"#edf7f2":t.isFocused?"#f6fbf9":"#ffffff",color:"#1f352b",cursor:"pointer",padding:"8px 10px"})}})})}e.s(["default",()=>nj],904289)}]);